<template>
  <div id="bigbox">
    <div class="boxa">
      <img class="imgq" src="bj.jpg" alt="" />
    </div>

    <div class="boxb">
      <p class="shang">上次使用微信 .得一生帐号登录过</p>
      <div class="ba">
        <img class="c" src="weixin.jpg" alt="" />
        <div @click="fun()">微信登录</div>
      </div>
      <div class="bb">
        <img class="c" src="QQ.jpg" alt="" />
        <div @click="fun()">QQ登录</div>
      </div>
      <div class="bc">
        <img class="c" src="pg.jpg" alt="" />
        <div @click="fun()">通过Apple登录</div>
      </div>
      <p class="pp" @click="fkk()">其他方式登录</p>

      <div class="xiyi">
        <input
          @click="fn1()"
          type="checkbox"
          name=""
          id=""
          :checked="checked"
        />
        <p class="dl">
          <b>登录代表你已同意</b> <span>用户协议</span><b> 、</b>
          <span>隐私政策</span> <b>和</b><span>儿童隐私政策</span>
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      checked: false,
    };
  },
  methods: {
    fun() {
      if (this.checked) {
        this.$router.push("/mmm");
        console.log(1);
      } else {
        this.show = true;
      }
    },
    fkk() {
      if (this.checked) {
        this.$router.push("/zhuce");
      } else {
        this.show = true;
      }
    },
    fn1() {
      this.checked = !this.checked;
    },
  },
};
</script>

<style scoped>
.boxa {
  margin: 0 auto;
  /* height: 7.7rem; */
}
.imgq {
  width: 100%;
  display: block;
}
.shang {
  font-size: 0.11rem;
  color: rgb(211, 214, 216);
  -webkit-transform: scale(0.833);
  padding-left: 1.2rem;
  margin-bottom: 0.1rem;
}
.boxb {
  width: 100%;
  height: 3rem;
  /* background:#1E53DC; */
  background: linear-gradient(to bottom, #2157e0, #4c73d8, #ace);
  /* background: linear-gradient(to  top #2157E0 #4c73d8  ) ; */
}
.ba,
.bb,
.bc {
  padding-left: 0.7rem;
  width: 2.5rem;
  height: 0.41rem;
  background: rgb(253, 253, 253);
  margin: 0 auto;
  display: flex;
  align-items: center;
  font-size: 0.12rem;
  text-align: center;
  border-radius: 0.03rem;
}
.bb {
  margin-bottom: 0.1rem;
}
.ba {
  margin-bottom: 0.1rem;
}
.bc {
  margin-bottom: 0.1rem;
}
.c {
  height: 0.41rem;
}
.pp {
  padding-left: 1.5rem;
  margin-bottom: 0.18rem;
  font-size: 0.12rem;
  color: aliceblue;
}
.xiyi {
  margin: 0 auto;
  display: flex;
  padding-left: 0.2rem;
  align-items: center;
  font-size: 0.12rem;
  -webkit-transform: scale(0.833);
}
.dl {
  padding-left: 0.1rem;
}
input {
  width: 0.1rem;
  height: 0.1rem;
}
span {
  -webkit-transform: scale(0.833);
  color: aliceblue;
  font-size: 0.1rem;
}
b {
  color: rgb(163, 164, 165);
}
</style>